[INFO] cloning repository https://github.com/kaixinbaba/burter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaixinbaba/burter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaixinbaba%2Fburter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaixinbaba%2Fburter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3f03c95e5ad18a0e6eb340826eb771432e2eac1f
[INFO] building kaixinbaba/burter against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaixinbaba%2Fburter" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kaixinbaba/burter on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kaixinbaba/burter
[INFO] finished tweaking git repo https://github.com/kaixinbaba/burter
[INFO] tweaked toml for git repo https://github.com/kaixinbaba/burter written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/kaixinbaba/burter already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 290360c4ae99de938ffaf63358002f57e91397208123ea7ee017802c47b4b6f0
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "290360c4ae99de938ffaf63358002f57e91397208123ea7ee017802c47b4b6f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "290360c4ae99de938ffaf63358002f57e91397208123ea7ee017802c47b4b6f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "290360c4ae99de938ffaf63358002f57e91397208123ea7ee017802c47b4b6f0", kill_on_drop: false }`
[INFO] [stdout] 290360c4ae99de938ffaf63358002f57e91397208123ea7ee017802c47b4b6f0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] e8a3e0cb16279e4689441d5949d610e58a833a47c5fd0ff24d092f4d4bde3676
[INFO] running `Command { std: "docker" "start" "-a" "e8a3e0cb16279e4689441d5949d610e58a833a47c5fd0ff24d092f4d4bde3676", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.23
[INFO] [stderr]    Compiling syn v1.0.42
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling pin-project-internal v0.4.26
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling serde_json v1.0.58
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling tracing-core v0.1.17
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling sharded-slab v0.0.9
[INFO] [stderr]    Compiling net2 v0.2.35
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling tracing-serde v0.1.2
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling tracing-log v0.1.1
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling atoi v0.3.2
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling regex-automata v0.1.9
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling matchers v0.0.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.11
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.2
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling async-stream-impl v0.2.1
[INFO] [stderr]    Compiling async-stream v0.2.1
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling tracing v0.1.21
[INFO] [stderr]    Compiling tracing-subscriber v0.2.13
[INFO] [stderr]    Compiling pin-project v0.4.26
[INFO] [stderr]    Compiling tracing-futures v0.2.4
[INFO] [stderr]    Compiling clap v3.0.0-beta.2
[INFO] [stderr]    Compiling burter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `bytes::Bytes`
[INFO] [stdout]  --> src/command/get.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bytes::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BurterObject`
[INFO] [stdout]  --> src/command/get.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::datastructure::{find_string_value, BurterObject};
[INFO] [stdout]   |                                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::protocol::Protocol`
[INFO] [stdout]  --> src/command/get.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::protocol::Protocol;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Buf`
[INFO] [stdout]  --> src/command/set.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bytes::{Buf, Bytes};
[INFO] [stdout]   |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `find_string_value`
[INFO] [stdout]  --> src/command/set.rs:6:28
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::datastructure::{find_string_value, BurterObject};
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/db.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/io/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]  --> src/io/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread::sleep;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/io/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fmt`
[INFO] [stdout]  --> src/io/mod.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{fmt, io};
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `atoi::atoi`
[INFO] [stdout]  --> src/io/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use atoi::atoi;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bytes`
[INFO] [stdout]   --> src/io/mod.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | use bytes::{Buf, Bytes, BytesMut};
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpListener`
[INFO] [stdout]   --> src/io/mod.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::net::{TcpListener, TcpStream};
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/io/mod.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tokio::time::{self};
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `info`, `instrument`
[INFO] [stdout]   --> src/io/mod.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tracing::{debug, error, info, instrument};
[INFO] [stdout]    |                      ^^^^^  ^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/server.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Cursor`
[INFO] [stdout]  --> src/server.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Cursor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]  --> src/server.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread::sleep;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fmt`, `io`
[INFO] [stdout]  --> src/server.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{fmt, io};
[INFO] [stdout]   |           ^^^  ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `atoi::atoi`
[INFO] [stdout]  --> src/server.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use atoi::atoi;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Buf`, `BytesMut`, `Bytes`
[INFO] [stdout]   --> src/server.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use bytes::{Buf, Bytes, BytesMut};
[INFO] [stdout]    |             ^^^  ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncWriteExt`, `BufWriter`
[INFO] [stdout]   --> src/server.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::io::{AsyncReadExt, AsyncWriteExt, BufWriter};
[INFO] [stdout]    |                 ^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `instrument`
[INFO] [stdout]   --> src/server.rs:15:35
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tracing::{debug, error, info, instrument};
[INFO] [stdout]    |                                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::command::Command`
[INFO] [stdout]   --> src/server.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::command::Command;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Opt`
[INFO] [stdout]   --> src/server.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::options::{Config, Opt};
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error`, `Protocol`
[INFO] [stdout]   --> src/server.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::protocol::{Error, Protocol};
[INFO] [stdout]    |                       ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/server.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 35 | /         loop {
[INFO] [stdout] 36 | |             self.limit_connections.acquire().await.forget();
[INFO] [stdout] 37 | |             let socket = self.accept().await?;
[INFO] [stdout] 38 | |             let mut handler = Handler {
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | |             });
[INFO] [stdout] 50 | |         }
[INFO] [stdout]    | |_________- any code following this expression is unreachable
[INFO] [stdout] 51 |           Ok(())
[INFO] [stdout]    |           ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]  --> src/io/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::future::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shutdown`
[INFO] [stdout]   --> src/command/mod.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         shutdown: &mut Shutdown,
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opt`
[INFO] [stdout]   --> src/options.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn from(opt: Opt) -> Self {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_opt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/command/set.rs:64:23
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn set(&mut self, mut database: &Database) {
[INFO] [stdout]    |                       ----^^^^^^^^
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*database` as mutable, as it is behind a `&` reference
[INFO] [stdout]   --> src/command/set.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn set(&mut self, mut database: &Database) {
[INFO] [stdout]    |                                     --------- help: consider changing this to be a mutable reference: `&mut Database`
[INFO] [stdout] 65 |         database.set(
[INFO] [stdout]    |         ^^^^^^^^ `database` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 31 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `burter`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "e8a3e0cb16279e4689441d5949d610e58a833a47c5fd0ff24d092f4d4bde3676", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8a3e0cb16279e4689441d5949d610e58a833a47c5fd0ff24d092f4d4bde3676", kill_on_drop: false }`
[INFO] [stdout] e8a3e0cb16279e4689441d5949d610e58a833a47c5fd0ff24d092f4d4bde3676
